/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 1.0.7
 */

:root {
    --af-purple: rgb(130, 43, 106);
}
#header{
    border-bottom:1px solid #eee;
}
.kt-blocks-post-grid-item .entry-title a:not(.button):not(.list) {
  &:hover {
    text-decoration: underline;
  }
}
/** Generic Images **/
.wp-block-kadence-image img, .wp-post-image, .wp-block-image img, .ct-media-container, .entry-card .boundless-image, .wp-caption img {
  border-radius: 4px;
}
/** Block Quote **/
.wp-block-quote, .wp-block-pullquote {
    font-family: Lora !important;
    border-color: rgb(79, 129, 59) !important;
    line-height: 1.5em;
}
.wp-block-pullquote cite, .wp-block-quote cite {
    font-family: Catamaran;
    font-style: normal;
    font-weight: 700;
    font-style: bold;
    font-size: 14px;
}

/* Connected Post Types Shortcode Block */

.custom-section ul{
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-gap: 30px 30px;
    list-style: none;
    padding: 0;
}
.meta-container{
    margin: 10px 0;
}
.image-container{
    margin-bottom: 16px;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}
.meta-container .entry-title{
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin: 0px 0px 0px 0px;
    font-size: 20px;
    line-height: 1.3em;
}
.meta-container .entry-title a{
    color: #000;
}

a.post-cat{
    text-transform: uppercase;
    font-size: 13px;
    line-height: 20px;
}
.date-container{
    font-size: 14px;
}

.custom-section ul.places{
    display: flex;
    flex-direction: column;
    grid-gap: 0;
}

.custom-section ul.places .place{
    margin-bottom: 10px;
}

.custom-section ul.places .place a{
   color: #000;
   font-weight: 700;
   transition: .5s all;
}

.custom-section ul.places .place a:hover{
    color: #182B63;
}

@media screen and (max-width: 999px) and (min-width: 767px){
    .custom-section ul{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        }
}

@media screen and (max-width: 767px){
    .custom-section ul{
        grid-template-columns: minmax(0, 1fr);
    }
}


/** Post List Block **/
.list-block .wp-block-post-title a:hover {
    color: #182B63;
}
.list-block .list-excerpt {
    padding-left: 32px;
    padding-right: 10%;
}
.list-block .list-excerpt p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
           line-clamp: 3;
    -webkit-box-orient: vertical;
}
.list-block .wp-block-post-date {
    margin-top: -8px !important;
    margin-bottom: -8px !important;
}
.list-block .wp-block-column {
    align-self: start;
}

/** Tables **/
.wp-block-table th {
    font-family: Lora;
    white-space: nowrap;
}
.wp-block-table {
    table-layout: auto !important;
}
.wp-block-table figcaption {
    padding-bottom: 10px;
}
.wp-block-table th, .wp-block-table td {
    padding: 1.2em;
    white-space: nowrap;
}

/** Menu **/
#header-menu-1 #menu-main-menu .ct-menu-link:hover{
    text-decoration: underline;
    color: #000;
} 

[data-dropdown*=simple]>ul>[class*=ct-mega-menu] .entry-content, [data-dropdown*=simple]>ul>[class*=ct-mega-menu] .sub-menu>li>a{
    font-weight: 500;
    font-style: bold;
    padding-top: 6px;
    padding-bottom: 6px;
}
nav>ul>[class*=ct-mega-menu] .entry-content {
    font-size: 14px;
    font-weight: 500;
}
nav>ul>[class*=ct-mega-menu] .entry-content h4 {
    font-family: Lora;
    font-size: 14px;
    font-weight: 500;
    margin: 0px;
    padding: 0px;
}
nav>ul>[class*=ct-mega-menu] .entry-content .two-lines {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2;
           line-clamp: 2;
   -webkit-box-orient: vertical;
}
nav>ul>[class*=ct-mega-menu] .entry-content .four-lines {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 4;
           line-clamp: 4;
   -webkit-box-orient: vertical;
   font-size: 14px !important;
}
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a{
    font-weight: 700 !important;
}
[data-logo=left] .site-title-container {
    margin-inline-start: 0.33em !important;
}
.sub-menu {
    padding-bottom: 20px;
}
.sub-menu .ct-menu-link:not(.ct-column-heading) {
    font-size: 14px;
}
.mobile-menu .sub-menu .sub-menu a {
    font-weight: 400 !important;
}
.menu-item-object-custom:last-of-type h4 {
    margin-bottom: 10px !important;
}
.menu-item-object-custom:last-of-type p {
    margin-bottom: 0px !important;
}
.menu-item-object-custom a {
    font-weight: 500 !important;
}
.menu-item-object-custom a:hover {
    color: rgb(130, 43, 106);
}
.menu-item .entry-content .entry-title a {
    display: block;
    font-size: 17px;
    font-family: Lora;
    font-weight: 500;
    line-height: 1.4em;
}
.donate-button .ct-menu-badge {
    font-size: 12px;
}
.ct-menu-link .ct-column-heading {
    font-size: 16px !important;
}
.kb-theme-content-width {
  width: var(--container-width);
  padding-inline: 0;
}

/** Gravity Forms **/
.has-palette-color-1-background-color .gfield_required {
    color: #fff;
}
footer .gform_wrapper.gravity-theme #field_submit input:hover,
footer .gform_wrapper.gravity-theme .gform_footer input:hover {
    border-color:#fff;
    color: #fff;
}
.gform_wrapper .gfield input:focus, .gform_wrapper .gfield textarea:focus {
    background-color: #fff;
}
#validation_message_3_1{
    display: none;
}footer .gform_wrapper.gravity-theme #field_submit input:hover,
footer .gform_wrapper.gravity-theme .gform_footer input:hover {
    border-color:#fff;
    color: #fff;
}

/** Footer **/
#footer .widget-title {
    color: #fff;
    font-size: 20px;
    font-weight:  700;
}
#footer p {
    color: #fff;
    margin-top: 15px;
}
#footer .widget-text {
    margin: 0;
}
#footer label {
    color: #fff;
}
#footer input[type="email"] {
    background:  #fff;
    border: none;
}
#footer .widget_block {
    margin: 0 !important;
}
#footer .gform_widget {
    margin-top: 15px !important;
}
#footer .gfield_required .gfield_required_text {
    color: #fff;
}
#footer [data-awam-target] {
    color: #fff;
}
#footer [data-awam-target]:hover,
#footer [data-awam-target]:focus {
    color: #e1b03d;
}

.social-link {
    padding-right: 17px;
}

/** Search **/
.ct-search-results a:hover {
  text-decoration: underline;
  color: white;
}
form.search-form label + button {
    top: unset;
}
form.ct-search-form {
  align-items: end;
}

form.ct-search-form .ct-search-form-controls {
  height: var(--has-height, var(--theme-form-field-height, 40px));
  margin: 0 0 .5em 0;
  box-sizing: border-box;
  font-size: 15px;
}
#search-modal form.search-form label + button {
    top: calc(21px + (var(--lineHeight) * 1rem));
}
.searchandfilter > ul {
    margin:0;
    padding:0;
}
.searchandfilter > ul > li {
    display:inline-block;
    padding-right:10px;
}
.searchandfilter[data-sf-form-id="44867"] .sf-field-search {
    display: none;
}
#search-text {
    background: white;
    width: 50%;
}

/** NextGen Gallery **/
.galleria-theme-nextgen_pro_horizontal_filmstrip.caption_above_stage .galleria-info,
.galleria-theme-nextgen_pro_horizontal_filmstrip.caption_below_stage .galleria-info {
    color: #525151;
}

/** Places Link Block **/
.places-link .wp-block-navigation .wp-block-navigation-item__content{
    border: thin solid #555;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-left: -8px;
    margin-right: -8px;
    margin-bottom: 0px;
    margin-top: -15px;
}
.places-link .wp-block-navigation-item__content:hover,
.places-link .wp-block-navigation-item__content:focus {
    border-color: var(--af-purple);
    color: var(--af-purple);
    background: transparent;
}
.places-link .wp-block-navigation ul li:last-child{
    margin-bottom: 0.3em;
}
.kb-query-item .not-found{
    display: none;
}

/** Where We Work Link Block **/
.where-we-work .wp-block-navigation__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    gap: 0;
}
@media screen and (max-width: 320px) {
    .where-we-work .wp-block-navigation__container {
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 768px) {
    .where-we-work .wp-block-navigation__container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/** Light Links for Dark Backgrounds **/
.light-links a{
    color: white;
}

html a:focus-visible,
html button:focus-visible {
    outline-color: activeborder;
    outline-color: Highlight;
    outline-color: -moz-mac-focusring;
    outline-color: -webkit-focus-ring-color;
}

/** large buttons **/
.huge-button {
    border-radius: 7px;
    font-size: 22px;
    padding: 25px;
    border: 1px solid black;
    color: black;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
}
.huge-button:hover {
    color: white;
    background: #822B6A;
    border-color: #822B6A;
}
.button-nav li a {
    border-radius: 7px;
    border: 1px solid black;
    color: black;
    margin: 0px;
    display: block;
    text-align: center;
    padding: 0px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom :5px;
}
.button-nav li a:hover {
    color: white;
    background: #822B6A;
    border-color: #822B6A;
}
.button-nav li:last-child {
    margin-bottom: 5px;
}

/** CTA button in header **/
.ct-header-cta .ct-button {
    transition: background 0.2s ease-in-out;
}
.ct-header-cta .ct-button:hover {
    transition: background 0.2s ease-in-out;
    /* outline: 2px solid #822B6A; */
}

/** Person Page **/
.person-title-container{
    display: flex;
}
.person-title {
    flex-basis: 66%;
}
.person-image {
    flex-basis: 33%;
    text-align: center;
}

.person-container{
    display: flex;
}
.person-content {
    flex-basis: 66%;
    margin-right: 25px;
    padding-top: 50px;
}
.person-related {
    flex-basis: 33%;
    text-align: left;
    border-left: 1px solid #eee;
}
.person-related ul {
    list-style: none;
}
.person-related img{
    margin-bottom: 10px;
}
.person-related li {
    margin-bottom: 25px;
}
.person-related h5{
    text-align: center;
    padding-left: 30px;
}
.person h3.tb-heading.small{
    display: inline;
    color: inherit;
    font-size: 16px;
}
span.person-related-name {
    color: rgb(130, 43, 106);
    padding-top: 10px;
}
.person-related .postName a{
    font-weight: 600;
}
.person ul.viewList {
    list-style: none;
     padding: 0;
    list-style-type: none;
}
.person .wpv-view-output h2 {
    text-align: center;
}
.person .wpv-view-output {
    margin-top: 50px;
    padding-left: 15px;
}
.person-related h2{
    padding-left: 40px;
}
.person-title {
    padding-top: 60px;
}
.person-related .date{
    font-size: 16px;
}
.person h1.tb-heading {
    display: inline;
}
.person h3.tb-heading {
    margin-top: 0px;
}
.single-person .ct-container-full {
    padding-top: 0px;
}
h1.tribe-events-single-event-title {
    margin-top: 0px !important;
}
body #main #tribe-events-pg-template,
body #main .tribe-common .tribe-common-l-container {
    max-width: var(--normal-container-max-width);
    width: var(--container-width);
    margin-right: var(--default-editor, auto);
    margin-left: var(--default-editor, auto);
    padding: var(--content-spacing) 0;
}
.inline-heading {
    display: inline;
}
.person a {
    color: black;
}
.person a:hover {
    color: var(--buttonInitialColor) !important;
}
.person img:hover {
    filter:  brightness(50%);
}
.person .headshot img {
    float: right;
    margin-left: 15px;
    margin-top: 40px;
    margin-bottom: 15px;
}
.kt-svg-icon-list svg {
    margin-top: 6px;
}

/* .wp-block-kadence-query-filter-buttons .kb-button.kt-button.kb-btn-global-outline.pressed, .wp-block-kadence-query-filter-buttons .kb-button.kt-button.kb-btn-global-pill.pressed, .wp-block-kadence-query-filter-buttons .kt-button.kb-btn-global-outline, .wp-block-kadence-query-filter-buttons .kt-button.kb-btn-global-pill{
    background: inherit;
    border-color: #822B6A;
    border: 2px solid #822B6A;
    color: #822B6A;
} */

/* Kadence Post Block */
body .kadence-post-image-intrisic .kadence-post-image-inner-intrisic {
    overflow: visible;
}
.kt-blocks-post-grid-item .kt-blocks-post-top-meta{
    margin-top: 5px;
}


/** post List Block **/
.list-block .wp-block-post-excerpt {
    max-height: 100px;
}
.post-list-title a {
    font-size:28px;
    color:black;
}
.post-list-date {
    margin-top: 10px;
}
.post-list-tags {
    margin-top: 10px;
    margin-bottom: 10px;
    font-style:normal;
    font-weight:500;
    text-transform:uppercase
}
h3.post-list-title {
    margin-bottom: 0px !important;
}
.related-news ul {
    list-style: none;
    padding: 0;
}
article .ct-related-posts h3.related-entry-title{
    margin: 16px 0;
}

/** Accordion Block */
.wp-block-bytesco-accordion--content[style="height: 0px;"] {
    opacity: 0;
    visibility: hidden;
}
.wp-block-bytesco-accordion--content {
    opacity: 1;
    visibility: visible;
}

/* Archives */
.kadence-query-filter .kb-query-filter-reset-button{
    border: 0;
    transition: .3s all;
}

.kadence-query-filter .kb-query-filter-reset-button .kt-btn-inner-text:hover{
    font-weight: 600;
    transition: .3s all;

}
.wp-block-kadence-query-filter-buttons .kt-button.kb-btn-global-outline, .wp-block-kadence-query-filter-buttons .kt-button.kb-btn-global-pill{
    border: 2px solid var(--theme-palette-color-1, #822B6A) !important;
    color: var(--theme-palette-color-1, #822B6A) !important;
}
.wp-block-kadence-query-filter-buttons .kt-button.kb-btn-global-outline.pressed, .wp-block-kadence-query-filter-buttons .kt-button.kb-btn-global-pill.pressed{
    background: var(--theme-palette-color-1, #822B6A) !important;
    color: var(--global-palette-btn, #fff) !important;
}
.card-content a[rel="tag"]{
    text-transform: uppercase;
    color: #822B6A;
}
.card-content a[rel="tag"]:hover{
    text-decoration: underline;
}
.entry-card .card-content{
    max-width: 80%;
    margin: 0 auto;
}


/* News Section */
.news-section a[rel="tag"]{
    text-transform: uppercase;
    color: #822B6A;
}
.news-section a[rel="tag"]:hover{
    color: #182B63;
}
.news-section h2.entry-title:hover{
    text-decoration: underline;
}
.news-section [data-archive=default] .entry-card .ct-ghost{
    margin: auto;
    flex: none;
}
.news-section [data-archive=default][data-layout*=grid] .entry-card>*:not(:last-child){
    margin-bottom: 20px;
}
/* Careers */
.career-position-type a{
    font-style: italic;
}
.program-label{
    padding-right: 12px;
    font-weight: bold;
}
.post-regions::before{
    content: "Location:";
    margin-right: 12px;
    font-weight: bold;
}
.post-programs::before{
    content: "Programs:";
    margin-right: 12px;
    font-weight: bold;
}
.sub-open{
    font-size: 14px;
}

@media screen and (max-width: 690px){
    .entry-card .card-content{
        max-width: 100%;
    }
}

/** Tablet **/
@media screen and (max-width: 999px) and (min-width: 480px) {
    .btn-large-font {
        font-size: 20px !important;
        width: 175px;
    }
    .wp-block-quote p, .wp-block-pullquote p{
        font-size: 28px !important;
    }
    .list-block .wp-block-post-title a {
        font-size: 20px !important;
        line-height: 1.3em;
    }
    .list-block .list-excerpt {
        padding-left: 15px;
        padding-right: 0;
    }
    .person-container {
        display: block !important;
    }
    .person-related {
        border-left: none;
        width: 100%;
        text-align: center;
        margin: 0;
    }
    .person-related .viewListThumbsAbove {
        padding: 0;
    }
    button[class*=ct-toggle-close]{
        --theme-icon-color: #000;
    }

}

/** Large Tablet **/
@media screen and (min-width: 768px) and (max-width: 999px){
    .list-block .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(.list-excerpt) {
        flex-basis:  25% !important;
    }
    .list-block .list-excerpt {
        flex-basis:  75% !important;
    }
    .list-block .wp-block-columns {
        flex-wrap: nowrap !important;
    }
}

/** Mobile **/
@media screen and (max-width: 480px) {

    .wp-block-quote p, .wp-block-pullquote p{
        font-size: 22px !important;
    }
    .wp-block-pullquote cite, .wp-block-quote cite {
        line-height: 1.1em !important;
        display:inline-block;
    }
    .list-block .wp-block-post-title a {
        font-size: 20px !important;
        line-height: 1.3em;
    }
    .list-block .list-excerpt {
        margin-bottom: -70px;
        padding: 0px;
    }
    .wp-block-bytesco-accordion--heading {
        font-size: 22px;
    }
    .person-container {
        display: block !important;

    }
    .person-content {
        margin-right: 0px;
    }
    .person-related h5 {
        padding: 0;
    }
    .viewListThumbsAbove {
        padding: 0;
        margin: 0;
    }
    .person {
        text-align: center;
    }
    .person-related h2 {
        padding-left: 0px;
    }
    .person .wpv-view-output h2 {
        text-align: left;
    }
    .person-title h1.tb-heading {
        text-align: left;
        display: block;
        margin: 0px;
    }
    .person-title {
        padding-top: 0px;
    }
    .person {
        text-align: left;
    }
}

/** Events calendar fixes **/
body.single-tribe_events #main #tribe-events-pg-template {
  width: var(--theme-default-editor, var(--theme-block-width));
  max-width: var(--theme-default-editor, var(--theme-block-max-width));
  margin-inline: var(--theme-default-editor, auto);
  --theme-block-width: var(--has-wide, var(--theme-container-width));
  --theme-block-max-width: var(--has-wide, var(--theme-normal-container-max-width));
  --theme-block-wide-max-width: var(--has-wide, calc(var(--theme-normal-container-max-width) + var(--theme-wide-offset) * 2));
  --theme-boxed-content-max-width: var(--theme-normal-container-max-width);

  margin-top: 60px;
  @media (max-width: 999.98px) {
    margin-top: 50px;
  }
}
